GetLastMidiOutError
ErrorCode = GetLastMidiOutError()
 
Parameters: NONE
Returns:

    ErrorCode = MidiOut error code
 
In case a MidiOut command has caused an error, you can retrieve the error code with GetLastMidiOutError.

The function will return one of the following values:


0 (MSYSERR_NOERROR) : No error
5 (MMSYSERR_INVALHANDLE) : the handle was invalid
67 (MIDIERR_NOTREADY) : the MidiOut port is not ready


 
Related Info: MidiOutNoteOff | MidiOutNoteOffEx | MidiOutNoteOn | MidiOutSendMessage | MidiOutSetPatch | MidiOutShortMsg :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com